package com.cxyd.modules.wms.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;
import com.cxyd.common.entity.WmsBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * reelid出库明细
 *
 * @author lp
 * @since 1.0.0 2024-09-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("wms_order_reel")
public class OrderReelEntity extends WmsBaseEntity {
    /**
     * id
     */
    private String reelId;
    /**
     * 主单id
     */
    private Long detailId;
    /**
     * 商品编号
     */
    private String spuNo;

    /**
     * 批次
     */
    private String lotNo;
    /**
     * 计划量
     */
    private BigDecimal planQty;
    /**
     * 配货量
     */
    private BigDecimal bindQty;
    /**
     * 实发量
     */
    private BigDecimal actlQty;
    /**
     * 单据状态(0-初始  4-出库完成 )
     */
    private Integer detailSt;

    private String zllbh;

    private String locate;

    private String contLocateNo;

    private String contNo;

    private String supplier;

    private String datecode;
    /**
     * 更新用户
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updater;
    /**
     * 更新日期
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;
    /**
     * 备注
     */
    private String comments;
    /**
     * 库存类型
     */
    private String stockType;
}